/*
package com.nw.config;


import org.springframework.context.annotation.Configuration;

import java.io.FileWriter;
import java.io.IOException;

@Configuration
public class AlipayConfig {
    public static String APP_ID = "2021000118699149";
    public static String APP_PRIVATE_KEY = "MIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQC+6j2WG5sVxO4u4stJhiBMz8NKLx1S6M2EWiT5m0beCMcnzYy7LHjLJKxjPBN1CKAv1VJr84965FjfuRxIu7pcdfByxGaPJMwSIhAS7EU2uLngZWqkAThlmURHJIDhkNK0wAGLDMuz8Pz3WJ41xt5kZy1spB5qyJQ9yD1op6AK9HvChWQ0jhc19yDvAnPpNwnmsrTZx/DBQUjvXIJKbFpm9lA8FlD2wY6FuutfqDcvdtCsTAP/UgJiDvqg/dRxfhc1MqlTkUWXhz6uiQlcgiUkTVCrEMLJhAEopm61ZMgxun2Pmiquh9Gm1Jy4e+M3R9nU+sLtbSJNEF3naqfeeT/LAgMBAAECggEAXDp0vgtgBEg6eFP/uOkeuXy07yWLmP32KrYRnrOwrJq4+zWFgvac9CYnUVk4XRVprTH0u0nSSp/9fzbBvzFRelFPc2IF2akBHNFvynRxi1n6EblspwYf5JUCMwwjZtS7ta38ENyBm9ATpLoe1APac86UVyOBvjxfwOj3IZO48REM2XE4avuRJ3BZQqHL+JFX0qOhKvELF54hwlg8/vcmJBDXg/Ow6BpW8QRsWrwswau506tt7FhJCk1VF2aaiPL2yuJS4AfDh0i8Zde8Fm8s8N4lgWxA6MVf4RY4xOOMmAOkEjUd81QbRQxaNECQsDvuH5+YuieBU11Vu0m471cYgQKBgQDnFAylkBjYMP0kNsb87aCHIRWf3qVfJccYuH4k3YrL0STsumpUfG3HZCWaL6xHbNlDVbGLwS5AhGfQj3KE6ih/Ld3zYqyei2FlgbIrjGatUpPMSxbT/0abkaEsrZtdlI14Jr1SU6kOcIf3n6/8+bVFaLkrUb7DJsWaPkCxx2zc8QKBgQDTgU2dledJ7WLGY/wVH8UVIIk5eed+KdgaaS3e99QHR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static String notify_url = "https://www.baidu.com";
    public static String return_url = "https://www.baidu.com";
    public static String sign_type = "RSA2";
    public static String CHARSET = "utf-8";
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";
    public static String log_path = "H:\\";

    */
/**

     * 写日志，方便测试（看网站需求，也可以改成把记录存入数据库）

     * @param sWord 要写入日志里的文本内容

     *//*


    public static void logResult(String sWord) {

        FileWriter writer = null;

        try {

            writer = new FileWriter(log_path + "alipay_log_" + System.currentTimeMillis() + ".txt");

            writer.write(sWord);

        } catch (Exception e) {

            e.printStackTrace();

        } finally {

            if (writer != null) {

                try {

                    writer.close();

                } catch (IOException e) {

                    e.printStackTrace();

                }

            }

        }
    }

}
*/
